import request from '@/utils/request'

// 查询it值班检查任务任务列表
export function listItdutytask(query) {
  return request({
    url: '/operation/itdutytask/list',
    method: 'get',
    params: query
  })
}

// 查询it值班检查任务任务详细
export function getItdutytask(id) {
  return request({
    url: '/operation/itdutytask/' + id,
    method: 'get'
  })
}

// 新增it值班检查任务任务
export function addItdutytask(data) {
  return request({
    url: '/operation/itdutytask',
    method: 'post',
    data: data
  })
}

// 修改it值班检查任务任务
export function updateItdutytask(data) {
  return request({
    url: '/operation/itdutytask',
    method: 'put',
    data: data
  })
}

// 删除it值班检查任务任务
export function delItdutytask(id) {
  return request({
    url: '/operation/itdutytask/' + id,
    method: 'delete'
  })
}
